package com.platform.usercenter.mapper;

import com.platform.common.core.domain.entity.SysUser;
import com.platform.usercenter.domain.CalTeam;
import com.platform.usercenter.domain.vo.SysUserVO;
import com.platform.usercenter.teamfc.domain.vo.PostIdAndDeptTypeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户与角色关联表 数据层
 *
 * @author
 */
public interface RemoteUserMapper
{

    /**
     * 绑定手表
     * @param sysUser
     */
    void bindWatch( SysUser sysUser );

    void unBindWatch( SysUser sysUser );

	void bindVR( SysUser sysUser );

	void unBindVR( SysUser sysUser );


	List<SysUser> getUserByDeptType(  SysUserVO sysUserVo );

	//查询所有班组信息
	List< CalTeam> getAllTeam( CalTeam calTeam );

	List< CalTeam> selectCalTeams( @Param("jobType") List< String> jobType );

	List< SysUser> getUserByPostIdAndDeptType( PostIdAndDeptTypeVo postIdAndDeptTypeVo );
}
